import time,os

filename='/var/log/lclog'

print "-----------------------------------------------------------"
print time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())
while True:
	nsize=os.path.getsize(filename)
	print nsize
	time.sleep(1)

print "-----------------------------------------------------------"
print time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())

f=open(filename,'r')
f.readlines()
pointer=f.tell()
print pointer
f.close()

print time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())
print "-----------------------------------------------------------"
